package com.bbc.commonbackstage.common.enums;

/**
 * swagger分类
 *
 * @author liac
 * @date 2022/3/8 17:42
 */
public enum SwaggerEntity {

    /** 系统 */
    SYSTEM("1-系统", "com.bbc.commonbackstage.web.controller"),

    /** 后台 */
    ADMIN("2-后台", "com.bbc.commonbackstage.platform.controller"),

    ;

    SwaggerEntity(String groupName, String... basePackages) {
        this.groupName = groupName;
        this.basePackages = basePackages;
    }

    /** 分组名称 */
    private final String groupName;

    /** 扫描包 */
    private final String[] basePackages;

    public String getGroupName() {
        return groupName;
    }

    public String[] getBasePackages() {
        return basePackages;
    }

}
